home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr18 / bgft302b.zip / BGFT300B.EXE / BGFTDZTL.SLT < prev    next >
Text File  |  1993-03-03  |  1KB  |  28 lines

  1. // Version 3.02 BackGround File Transfer
  2. // BGFTDZTL.SLT: Telix script for BGFT Zmodem download.
  3. // Copyright (c) 1990-1993 Dirac Systems
  4. // Telix is a trademark of Exis Inc.
  5.  
  6. str command[80];                // Command string for BGFTOPT.
  7. str temp[80];                   // Temporary concatenation string.
  8.  
  9. main()
  10. {
  11. command = "/q";                         // Start command line.
  12. strcat(command," /a");                  // Acknowledge any error.
  13. strcat(command," /r");
  14. itos(get_port(),temp);                  // Find out where we are connected.
  15. strcat(command,temp);                   // Reconnect existing comm port.
  16. strcat(command," /b");
  17. itos(get_baud(),temp);                  // Find out what is the baud rate.
  18. strcat(command,temp);                   // Set baud rate for resident.
  19. //
  20. //      Zmodem Download
  21. //
  22. strcat(command," /~5");                 // This protocol is Zmodem dnld.
  23. strcat(command," /s");                  // Start to send file.
  24. prints(command);                        // Tell user the command string.
  25. run("bgftopt.exe",command,2);
  26. exittelix(0,0);                         // Leave Telix; don't hangup line.
  27. }                                       // Now enjoy background Zmodem dnld.
  28.